package com.waitingresult.common.base.model;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * All right reserved,Designed By WangShuai
 *
 * @author : WangShuai
 * @version : V1.0
 * @ClassName : ListDto
 * @Description :
 * @date : 2021/9/9 10:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ListDto<T> implements Serializable {
    private static final long serialVersionUID = -8225131666445111003L;
    private List<T> list;
    private Page<T> pager;
    private List<String> auth;

    public List<T> getList() {
        return this.list;
    }

    public void setList(final List<T> list) {
        this.list = list;
    }

    public Page<T> getPager() {
        return this.pager;
    }

    public void setPager(final Page<T> pager) {
        this.pager = pager;
    }

    public List<String> getAuth() {
        return this.auth;
    }

    public void setAuth(final List<String> auth) {
        this.auth = auth;
    }
}
